﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace PointerPlayground
{
    [StructLayout(LayoutKind.Sequential)]
    public class CurrencyClass
    {
        public long Yuan;

        public short Jiao;

        public override string ToString()
        {
            return String.Format("￥{0}.{1}", Yuan, Jiao); 
        }

    }
}
